﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="KhoiTaoDeTaiDuAn.ascx.cs" Inherits="QuanLyDeTaiKHCN.UserControls.Manager.KhoiTaoDeTaiDuAn" %>
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="udt1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <div class="control-group info row-fluid" >
            <fieldset style="padding:5px;">
                <legend>Thông tin chung về đề tài</legend>
                <label class="control-label" style="width:200px;padding-right: 10px;">Mã đề tài</label>
                <div class="controls">
                    <asp:TextBox ID="txtMaDeTai" runat="server" ReadOnly="true" CssClass="span2" onblur="KiemTraInjection(this);"></asp:TextBox>
                </div>
                <div style="height: 5px;"></div>
                <label class="control-label" style="width:200px;padding-right: 10px;">Tên đề tài</label>
                <div class="controls">
                    <asp:TextBox ID="txtTenDeTaiDuAn" runat="server" CssClass="span11" onblur="KiemTraInjection(this);"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="req" runat="server" ForeColor="Red" Display="Dynamic" Text="Nhập tên đề tài" ControlToValidate="txtTenDeTaiDuAn"></asp:RequiredFieldValidator>
                </div>
                <div style="height: 5px;"></div>
                <label class="control-label" style="width:200px;padding-right: 10px;">Lĩnh vực</label>
                <div class="controls">
                    <fieldset class="span6" style="padding-left: 15px;">
                        <label class="radio inline">
                            <asp:RadioButton ID="rdbtunhien" runat="server" GroupName="linhvuc" Checked="true" Text="Khoa học tự nhiên" />
                        </label>
                        <label class="radio inline">
                            <asp:RadioButton ID="rdbxahoi" runat="server" GroupName="linhvuc" Text="Khoa học xã hội"/>
                        </label>
                    </fieldset>
                </div>
                <div style="height: 5px;clear:both;"></div>
                <label class="control-label" style="width:200px;padding-right: 10px;">Loại</label>
                <div class="controls">
                    <fieldset class="span6" style="padding-left: 15px;">
                        <label class="radio inline">
                            <asp:RadioButton ID="rddetai" runat="server" GroupName="b" Checked="true" Text="Đề tài" />
                        </label>
                        <label class="radio inline">
                            <asp:RadioButton ID="rdduan" runat="server" GroupName="b" Text="Dự án"/>
                        </label>
                    </fieldset>
                </div>
                <div style="height:5px;clear:both;"></div>
                <label class="control-label" style="width:200px;padding-right: 10px;">Phương thức</label>
                <div class="controls">
                    <fieldset class="span6" style="padding-left: 15px;">
                        <label class="radio inline">
                            <asp:RadioButton ID="rdnhanthuyetminh" runat="server" GroupName="a" Checked="true" Text="Giao trực tiếp" />
                        </label>
                        <label class="radio inline">
                            <asp:RadioButton ID="rdnhanhoso" runat="server"  GroupName="a" Text="Tuyển chọn"/>
                        </label>
                    </fieldset>
                </div>
                <div style="height:5px;clear:both;"></div>
                <label class="control-label" style="width:200px;padding-right: 10px;">Thời gian ban hành danh mục</label>
                <div class="controls">
                    <asp:TextBox ID="txtThoiGianBanHanhDanhMuc" runat="server" CssClass="span6"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="yc1" runat="server" Text="Nhập thời gian ban hành danh mục" ForeColor="Red" ControlToValidate="txtThoiGianBanHanhDanhMuc" Display="Dynamic"></asp:RequiredFieldValidator>
                </div>
                <div style="height:5px;"></div>
                <label class="control-label" style="width:200px;padding-right: 10px;">Người thụ lý</label>
                <div class="controls">
                    <asp:DropDownList ID="drlNguoiThuLy" CssClass="span4 height" runat="server"></asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rq3" InitialValue="-1" runat="server" Text="Chọn nhân viên thụ lý" Display="Dynamic" ForeColor="Red" SetFocusOnError="true" ControlToValidate="drlNguoiThuLy"></asp:RequiredFieldValidator>
                </div>
                <div style="clear:both;"></div>
                <label class="control-label" style="width:200px;padding-right: 10px;"></label>
                <div class="controls">
                    <asp:LinkButton ID="btnsave" OnClick="btnsave_Click" Width="100" class="btn btn-primary" runat="server"><i class=" icon-save"></i>&nbsp;&nbsp;Lưu</asp:LinkButton>
                    <asp:Label ID="lblstatus" runat="server" ForeColor="Red"></asp:Label>
                    <br />
                </div>
            </fieldset>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
